﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace BlawkayEngine.Drawing
{
    public class SpriteV : Sprite
    {
        public Vector2 Position;
        public Vector2 Scale;

        public SpriteV(Texture2D oTexture, Vector2 oPosition, Vector2 oScale)
            : base(oTexture)
        {
            Texture = oTexture;
            Position = oPosition;
            Scale = oScale;
        }

        public override void Draw(SpriteBatch oSB, float oTransition)
        {
            oSB.Draw(Texture,
                Position,
                Source,
                Color * oTransition,
                Rotation,
                Origin,
                Scale,
                Effect,
                LayerOrder);
        }

    }
}
